<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body class="timo-layout-page">
    <div class="layui-card">
        <div class="layui-card-header timo-card-header">
            <span><i class="fa fa-bars"></i>任务管理</span>
            <i class="layui-icon layui-icon-refresh refresh-btn"></i>
        </div>
        <div class="layui-card-body">
            <div class="layui-row timo-card-screen">
                <div class="pull-left layui-form-pane timo-search-box">
<!--                    <div class="layui-inline">-->
<!--                        <label class="layui-form-label">审核人员</label>-->
<!--                        <div class="layui-input-block timo-search-status">-->
<!--                            <select class="layui-input" type="text" th:width="300px" name="checkName" placeholder="请输入代码" th:value="${param.checkName}">-->
<!--                                <option value="" >请选择审核人员</option>-->
<!--                                <option value="林立恒" th:selected="${param.checkName=='林立恒'}">林立恒</option>-->
<!--                                <option value="郑文汉" th:selected="${param.checkName=='郑文汉'}">郑文汉</option>-->
<!--                                <option value="张海明" th:selected="${param.checkName=='张海明'}">张海明</option>-->
<!--                            </select>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline">-->
<!--                        <label class="layui-form-label">年份</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input type="text" name="title" th:value="${param.title}" placeholder="请输入年份" autocomplete="off" class="layui-input">-->
<!--                        </div>-->
<!--                    </div>-->
<!--&lt;!&ndash;                    <div class="layui-inline">&ndash;&gt;-->
<!--&lt;!&ndash;                        <label class="layui-form-label">省</label>&ndash;&gt;-->
<!--&lt;!&ndash;                        <div class="layui-input-block">&ndash;&gt;-->
<!--&lt;!&ndash;                            <input type="text" name="province" th:value="${param.province}" placeholder="请输入省" autocomplete="off" class="layui-input">&ndash;&gt;-->
<!--&lt;!&ndash;                        </div>&ndash;&gt;-->
<!--&lt;!&ndash;                    </div>&ndash;&gt;-->
<!--                    <div class="layui-inline">-->
<!--                        <label class="layui-form-label">地市</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input type="text" name="city" th:value="${param.city}" placeholder="请输入地市" autocomplete="off" class="layui-input">-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline">-->
<!--                        <label class="layui-form-label">区县</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input type="text" name="district " th:value="${param.district }" placeholder="请输入区县" autocomplete="off" class="layui-input">-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline">
                        <label class="layui-form-label">单位名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="name" th:value="${param.name}" placeholder="请输入单位名称" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">申请类别</label>
                        <div class="layui-input-block" style="width: 150px">
                            <select class="layui-input" id="J_selectApplyItem" type="text"  name="applyItem" placeholder="请选择申请类别" th:value="${param.applyItem}">
                                <option value="" >请选择审核状态</option>
                                <option value="资质申请" th:selected="${param.applyItem=='资质申请'}">资质申请</option>
                                <option value="专业类别变更" th:selected="${param.applyItem=='专业类别变更'}">专业类别变更</option>
                                <option value="补充和修改数据" th:selected="${param.applyItem=='补充和修改数据'}">补充和修改数据</option>
                                <option value="基本信息变更" th:selected="${param.applyItem=='基本信息变更'}">基本信息变更</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">审核人</label>
                        <div class="layui-input-block" style="width: 150px">
                            <select class="layui-input" id="J_selectCheckName" type="text"  name="checkName" placeholder="请选择审核人" th:value="${param.checkName}">
                                <option value="" >请选择审核人</option>
                                <option value="林立恒" th:selected="${param.checkName=='林立恒'}">林立恒</option>
                                <option value="郑文汉" th:selected="${param.checkName=='郑文汉'}">郑文汉</option>
                                <option value="张海明" th:selected="${param.checkName=='张海明'}">张海明</option>
                                <option value="冯清" th:selected="${param.checkName=='冯清'}">冯清</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">审核状态</label>
                        <div class="layui-input-block" style="width: 150px">
                            <select class="layui-input" id="J_selectCheckStatus" type="text"  name="checkStatus" placeholder="请选择审核状态" th:value="${param.checkStatus}">
                                <option value="" >请选择审核状态</option>
                                <option value="未审核" th:selected="${param.checkStatus=='未审核'}">未审核</option>
                                <option value="补正材料" th:selected="${param.checkStatus=='补正材料'}">补正材料</option>
                                <option value="技审通过" th:selected="${param.checkStatus=='技审通过'}">技审通过</option>
                                <option value="受理" th:selected="${param.checkStatus=='受理'}">受理</option>
                                <option value="不予受理" th:selected="${param.checkStatus=='不予受理'}">不予受理</option>
                                <option value="已审批" th:selected="${param.checkStatus=='已审批'}">已审批</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">是否通过技审</label>
                        <div class="layui-input-block" style="width: 150px">
                            <select class="layui-input" id="J_selectIsAudit" type="text"  name="reviewStatus" placeholder="请选择技审状态" th:value="${param.reviewStatus}">
                                <option value="" >请选择技审状态</option>
                                <option value="是">是</option>
                                <option value="否">否</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn timo-search-btn">
                            <div class="sortable asc" data-field="applyDate" style="display: none"></div>
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
                <div class="pull-right screen-btn-group">
                    <button class="layui-btn open-popup" data-title="添加" th:attr="data-url=@{/gdp/regionGdp/add}" data-size="auto">
                        <i class="fa fa-plus"></i> 添加</button>
                    <button class="layui-btn" data-title="导出" id="J_export">
                        <i class="fa fa-handshake-o"></i> 导出</button>
                    <button class="layui-btn open-popup" data-title="导入" th:attr="data-url=@{/gdp/regionGdp/import}" data-size="400,400">
                        <i class="fa fa-handshake-o"></i> f导入</button>
<!--                    <div class="btn-group">-->
<!--                        <button class="layui-btn">操作<span class="caret"></span></button>-->
<!--                        <dl class="layui-nav-child layui-anim layui-anim-upbit">-->
<!--                            <dd><a class="ajax-status" th:href="@{/gdp/regionGdp/status/ok}">启用</a></dd>-->
<!--                            <dd><a class="ajax-status" th:href="@{/gdp/regionGdp/status/freezed}">冻结</a></dd>-->
<!--                            <dd><a class="ajax-status" th:href="@{/gdp/regionGdp/status/delete}">删除</a></dd>-->
<!--                        </dl>-->
<!--                    </div>-->
                </div>
            </div>
            <div class="timo-table-wrap">
                <table class="layui-table timo-table">
                    <thead>
                    <tr>
                        <th class="timo-table-checkbox">
                            <label class="timo-checkbox"><input type="checkbox">
                                <i class="layui-icon layui-icon-ok"></i></label>
                        </th>
                        <th>序号</th>
                        <th>地区</th>
                        <th>申请时间</th>
                        <th>公司名称</th>
                        <th>申请事项</th>
                        <th>资质等级</th>
                        <th>审核员</th>
                        <th>审核次数</th>
                        <th>审核时间</th>
                        <th>技审通过</th>
                        <th>是否技审</th>
                        <th>受理时间</th>
                        <th>公示时间</th>
                        <th>审批时间</th>
                        <th>审核状态</th>
                        <th>备注</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr th:each="item:${list}">
                        <td><label class="timo-checkbox"><input type="checkbox" th:value="${item.id}">
                            <i class="layui-icon layui-icon-ok"></i></label></td>
                        <td th:text="${itemStat.index+1}">主键ID</td>
                        <td th:text="${item.city}">地区</td>
                        <td th:text="${item.applyDate}">申请时间</td>
                        <td th:text="${item.name}">公司名称</td>
                        <td th:text="${item.applyItem}">申请事项</td>
                        <td th:text="${item.grade}">资质等级</td>
<!--                        <td th:text="${#dates.format(item.createDate, 'yyyy-MM-dd HH:mm:ss')}">创建时间</td>-->
                        <td th:text="${item.checkName}">审核员</td>
                        <td th:text="${item.checkNums}">审核次数</td>
                        <td th:text="${item.checkDate }">审核时间</td>
                        <td th:text="${item.reviewDate }">技审通过</td>
                        <td th:text="${item.reviewStatus }">是否技审</td>
                        <td th:text="${item.acceptDate}">受理时间</td>
                        <td th:text="${item.publicDate}">公示时间</td>
                        <td th:text="${item.approveDate}">审批时间</td>
                        <td th:text="${item.checkStatus }">审核状态</td>
                        <td th:text="${item.remark }">备注</td>
                        <td>
                            <a class="open-popup" data-title="编辑" th:attr="data-url=@{'/gdp/regionGdp/edit/'+${item.id}}" data-size="auto" href="#">编辑</a>
<!--                            <a class="open-popup" data-title="详细信息" th:attr="data-url=@{'/gdp/regionGdp/detail/'+${item.id}}" data-size="800,600" href="#">详细</a>-->
                            <a class="ajax-get" data-msg="您是否确认删除" th:href="@{/gdp/regionGdp/status/delete(ids=${item.id})}">删除</a>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div th:replace="/common/fragment :: page"></div>
        </div>
    </div>
<script th:replace="/common/template :: script"></script>
    <script th:src="@{/js/plugins/jquery-3.3.1.min.js}"></script>
    <script th:src="@{/js/gdp/regionGdp.js}"></script>
</body>
</html>